Fix menu handler when there is more than 2 levels