just to note, this would be an ideal candidate for regression tests. also pmg has a slightly different method to check this, that we should unify with this one. I'll look into both more deeply in the coming days/weeks when I have time, but I wanted to create a fix for this first.