Search function will not respond to submit