Remove uncessary if statement