Delete doesn't "stick"

My deleted emails weren't staying deleted (they were coming back when doing an update).

After digging around, I found a small typo that seemed to be causing the problem.

After this update, deletes work for me.