PIM-3250 : rework date filter (orm)