Fixed bug with the date add failures