Resolve weird issues looking up addresses by fitting interfaceIndex to the proper type