Fix bug in default dates