Stopped using loop structure method to get the serial number, hoping for a more reliable
method.