Removed an incorrect check