Fixed cause of ElasticSearch exceptions.

refs #5794

Fixed issue generating sort-related exceptions in the ElasticSearch log.
Search was specifying document types, but not restricting index.