This is required for sites that allow ranges to be browsed. This change includes a datamigration to slugify existing range names. Fixes #906