I encountered a bug. When I died with the helm equiped, I still had it during my next run but the defense was set to the default value, so removing the helm would lower defense below normal.
I'm guessing this kind of gear isn't supposed to carry over so if it's relevant I had multiple helmets in the same run.