Workaround wrong dates in the database