Shopify setting can_order = false display problem

If I set can_order = false in algolia_instant_search.js.liquid to stop that product showing in the instant search results it leaves all gaps on the page and some pages are totally blank, which are where that product would of been shown. How do I fix this?

This shouldn’t be the case, I’d be happy to investigate.
Could you :