PIM-3222 : fix inconsistency in MongoDB filters