Fixes helmet flags being broken

This should fix #6149