Good shout @steevej-1495.
As a side note, I have experienced this problem of an “empty collection” with the most simplest of criteria (which previously produced results) and it only happened with this version of Compass. At the same time, I opened up an older version in parallel and the same criteria produced the intended results. Refreshing the connection (to localhost) eventually resolved the issue. How can it lose connection to localhost??
Besides that, this message of an “empty collection” is very misleading and overtly inaccurate. It should state something along the lines of, “the query returned 0 documents” or “No preview documents” just like it does on the Aggregations tab. It has to be a bug.
Feedback for @Shubham_Ranjan