Reversed the boolean check