Simplified how the slug should be generated. Should fix most if not all edge cases now.