MIFOSX-672: fix issue with FLAT interest calculation not correctly calculation prinicpal balance for final installments.