Remove extraneous if statement