Preventing a 404 when erroneous search queries are entered.