Removed a unnecessary if