Fixed issue with empty slugs