A comment would have made it easier to understand, for sure. It was necessary but I do not entirely recall why. I'm nervous about removing it, but if you test it thoroughly then perhaps the original reason is no longer valid. When you are testing, please also test with b2gpopulate, which also uses this method.