MIFOS-6128: fixed amount calculations when repaying last installment via UI