Bug in SoftwareSerial when using inverse logic