This is a tiny robustness weakness in the code that's harmless but leads to displaying an obscure error, which is non ideal.