I've changed my mind, I'm going to update this issue so that it's only about adding a test and the documentation. I will create a new one about solving the problem for good.