WOBS-3395: Fixes the issue with wrong dates