Try to find another rootNum if actual rootNum doesn't point to a dict

Bug #14303
2 files changed