Treks and waypoints connecting outside Bhutan and unable to perform grided query

The persisting issues I have since 2017 are treks and waypoints connecting to locations outside Bhutan, as far as the Atlantic ocean. Because of which I am not able to perform grided queries. The minimum grid size acceptable is 25,000 meter, which makes no/little sense for analysis. Using data validation functions also didn’t help. I tried with filter functions but neither worked. the issue is same for 24 CAs and national CCAA database.

Is there a solution that I can perform such a query within Bhutan boundary.