a.cat-selected applies to final categories. Categories with subcats get the .cat-parent class if they are in the selection path.
You would allow for this by adding another selector to the rule:
#categories li a.cat-selected.catBg2, #categories li a.cat-parent.catBg2
Bookmarks