Improve error when minimongo and mongo disagree

Addresses #2033 and #2244.