Removed a useless if case