SERVER-6400: match hasExistsFalse has nested behavior to old matcher
SERVER-6400: comparison against undefined is illegal