Fix display of 3 digit credit subtotals

Reordered regex to fix a bug causing credit subtotals with 3 digits to display incorrectly.
Merge pull request #606 from anelson659/master

Fix display of 3 digit credit subtotals