Fix issue with repeated DIGEST occurrences not being replaced

This issue: https://github.com/mutewinter/digest-brunch/issues/11