...
The movePrimary operations does not clean the local catalog of the donor shard (old database primary) for tracked collections, it does it only for untracked collection. So if the old primary doesn't own any chunk for a specific collection, the movePrimary operations will leave the collection metadata in the local catalog for that shard.
MongoDB Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.