Created https://mifosforge.jira.com/browse/MIFOS-5935. I'll work on it this week.
Fixed in b5d7920264ac72cd8ae8d6068b02b5afa5650602.
Thanks a lot, Stanley.