Removed erroneous old_link generation from search route.
Basic validation / sanitation of POSTed search terms.