Remove extraneous if statement.