Fix for ToSeoFriendlyString() to strip special characters from beginning and end of string