Remove extra parenthesis from the check