Good catch. It turns out this method was untested. I added some tests.