End Date computing method incorrect in Session