Fixed an issue with the dasherize method.