Fix integer overflow with total scan value
Fix integer overflow with total scan value

andreaspada/EDDiscovery,andreaspada/EDDiscovery,EDDiscovery/EDDiscovery,klightspeed/EDDiscovery,klightspeed/EDDiscovery,EDDiscovery/EDDiscovery,EDDiscovery/EDDiscovery,klightspeed/EDDiscovery