locationsearch bugfix

fixed a bug where the locationsearch query was invalid