Fixed the modifier mask definition to mask out all modifiers, not just one.