Fixing reference to search results query

Search results were not accessing 'q' correctly, which was nested within 'cropsearch'