Fixed bug in search plugin, uid is not always unique.

...me uid to be overwritten and not returned as results.