MIFOSX-865 bug fixes for accruals batch job