v.20.5Bug Fix

Fix redundant IN operator usages in query

Fix multiple usages of IN operator with the identical set in one query. #10686 (Anton Popov).