Make sure that “-in-” is never part of a product name. Otherwise this would break both the product and city search on that page.
If your product contains “-in-” as part of its name, use a method to replace it in the URL, and add a code exception in your searches or displays.
For example, if the product name is “Jack in the box”, you can use a dot while registering the URL for it (jack-in.-the-box) or something else that won’t break the -in- explode.