It worked, because for nntp servers, both of those are always false. fix the rename rules so that folders with no children that can't be renamed are show, but disabled. remove the oncommand="" for menu items that are generated as disabled.