Fix bug with day always being set for new tasks.