Fix for the new _create_sub_menu() method.
Authored by: bugman 2010-12-08
Parent: [r11739]
Child: [r11741]