Better handling for slugs to ensure they don't contain special character...

...s.