Removed useless parenthesis from comparisons

Removed needless branches for returning true/false