MIFOSX-1541 : corrected prepayment and interest calculation on date change