Syncs search in the form with URL