Removed unneeded if statement.