Update search to work when single record is returned