Should be fixed by 8e7d3e9216885ae56b5135aa158ae77059374e3a. I also added a short unittest which will hopefully catch a similar issue in future.
Should be fixed by 8e7d3e9216885ae 56b5135aa158ae7 7059374e3a. I also added a short unittest which will hopefully catch a similar issue in future.