Removes useless and wrong check.