Fix issues with slug parsing.