Fix bugs introduced in previous commit with unique-slugifying.