Fixes boolean logic for checking various assignments in ParserRuleSet