In some case, currentInterfaceName can be null. Take that into account