I never said the cache setting would affect this - just that the setting you had did not match the description of what you thought it did.
As I said I have never seen your issue - when I delete folders from my Windows machines they disappear as expected on my Unraid machine. I am not, however, using ZFS so it may be that is relevant in your case.