Removes useless condition