Details
Description
When $and is serialized, it detects if it has no children to avoid serializing to something that would fail to parse during reserialization.
$or does not have this check, but it should. Presumably it should serialize an $alwaysFalse match expression.