Removed illogical test