Small change to how loop() checks for Serial data