Removed obsolete if statement