Fix the testing of log category submenu items. (dm)