Removes unnecesary condition