Added encoding on searches