bugs.core_4927_test. IIF function prevents the condition from being pushed into the union for better optimization