PIM-2525: Fixing the date filters

| Q                   | A
| ------------------- | ---
| Bug fix?            | yes
| New feature?        | no
| BC breaks?          | no
| Tests pass?         | yes
| Scenarios pass?     | no
| Checkstyle issues?  | no
| Changelog updated?  | no
| Fixed tickets       | PIM-2525
| Doc PR              | -