NXP-15597: deal with both List and array
NXP-15394: create mock bucket when in selection but not in es result