Fix issue DNN-5988 that was introduced in 7.3.3.
Merge pull request #173 from donker/DNN-5988

Fix issue DNN-5988 that was introduced in 7.3.3.
DNN-5990 Added test for ensuring that modifying search documents does not create duplicates.
DNN-5990 Changed method to retrieve results for a search in the tests