Fix reversed search URLs