added support for more than strict search in subdocuments