redirect to view page if only one result