SERVER-11436 fixed incorrect bounds for {$lt: min} and {$gt: max} expressions