Bug fix in datetime%addDays