MIFOS-6075: Allow the apply guaranty feature to be on the accounts with pending state and approved state