Amended Search function to add Paginated results and override default 404 behaviour.