Fixed equality comparison with extraneous parentheses