It might be any idea to start forcing the check in of devices, both from a client perspective, and also from an MDM perspective
However, if devices are online and not checking in, it might be an idea that you speak to Meraki support to diagnose what the issue is.
Also, thanks for testing the script. I'm glad that it's already highlighted some devices 🙂