EZP-23037: hold join state in SelectQuery object