search: always trim queries