Removes stray if statement