fix(location): fix parameter handling on search()