Fixed a bug in the search plugin which caused search results with the same uid to be overwritten and not returned as results.