check for !loanTransaction.isRecoveryRepayment() in a else if statement is unnecessary