special handling of BSON array in search feature