Fix slug bug

Slugs with trailing hyphens fail validations (and are a bit ugly).