Fixed #865 Due date incorrectly calculated. All Analyses are immediately late