Thread:Extension talk:CategoryTree/Problem with namespaces in category tree/reply

Can't check now, but did you try namespace id/number rather than name?