PIM-3406: use a boolean to filter on boolean and not a number on mongodb implementation