Determing list type can cause a key error

When we do `meta_data.numbering_dict[numId].get(ilvl, 'decimal')` if `numId` is not in the `numbering_dict` for whatever reason then this will throw a key error.