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