MODE-2346 Changed the logic around the selection of the indexes in the query plan. User-defined indexes should always have priority over the DescendantsByPath implicit index.
Merge pull request #1318 from hchiorean/MODE-2346

MODE-2346 Changed the logic around the selection of the indexes in the query plan.