Previous fix for MB-35568 did not handle WHEN clause in array index definition properly.
MB-35568 30% drop in TP for array queries