Fixes bug affecting values that match "$\d+" (#172).