Fix categories permalink initialization