After removing unused references and before attempting to allow the user to come back to search and continue already started query

Signed-off-by: unknown <cnwnh1@cnwcb5a.cnw.co.nz>