MDL-63564 core_question: Avoid using UNION in get_users_in_context()