Fixing the slug check for permalinks