Protect against inaccurate type_info information