fix: `grind` canonicalizer

This PR fixes a bug in the `grind` canonicalizer.
3 files changed