Fix reversion to previous slug with history module

Specifically, when users are using the recommended overridden definition
of should_generate_new_friendly_id? to get new slugs on column changes,
the slug generator would consider historic names to be conflicts. This
fixes reversion specifically for that case.

Resolves #463