GET and POST mixed up for search.html