- 
    Type:Bug 
- 
    Resolution: Fixed
- 
    Priority:Major - P3 
- 
    None
- 
    Affects Version/s: None
- 
    Component/s: None
- 
    None
- 
        Fully Compatible
- 
        ALL
- 
        QO 2022-10-31
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
coll.find({age: {$gt: NumberInt(30), $lt: NumberInt(18)}}) 
This query in the collection below returned the entire collection.
const docs = [
    {_id: 0, age: NumberInt(20)},
    {_id: 1, age: NumberInt(45)},
    {_id: 2, age: NumberInt(56)},
    {_id: 3, age: NumberInt(16)}
]; 
However, this tassert statement should have thrown an error.
- related to
- 
                    SERVER-102141 Complete TODO listed in SERVER-70355 -         
- Closed
 
-