Fixed submitting
Fixed the submit with the new refactored version of submit and search.
All that should be left for basic functionality is displaying search results
correctly.