Fix bug on custom date interval default.