MODE-2261 Fixed the handling of multiple selectors for the REST service queries.