Minor change to the slugify method