Really fixed the removing common prefixes bug.

Woke up in the middle of the night last night from a dream realizing I
hadn't fixed this. Fortunately I was standing right next to the fix
already.

Wrote an initially-faiing unit test to prove it.
Bumped the version.