Removed useless if statement