Earlier quoted context omitted.
See, this would not have happened if they had coded this project in a purely functional language.
It would not have happened if that logic was covered by tests :O
The Erlang/OTP team runs a mantra where everything is covered by tests and they are doing a really good job at what they are doing. So I would not be surprised to see this having been caught by a test.