little tweak to strip single hypen at the end of seo-urls the get more beautyful ones

Signed-off-by: Sweil <mail@sweil.de>