Remove unneeded if statement