This ensures we set the baud to the first serial port with the specified protocol instead of the last.