Wrong accrual posting during loan disbursement posting

We noticed that the Interest accrual was calculated at once upon disbursement of the loan which wasn’t the case while we conducted previous tests on https://demo.mifos.io/
We tested on https://openmf.github.io/community-app/?baseApiUrl=https%3A%2F%2Fdemo.fineract.dev&tenantIdentifier=default#/searchtransaction?loanId=81 and got this issue

Issue has been fixed by Avik
Reference Ticket number: https://issues.apache.org/jira/browse/FINERACT-1290