Fix the this object for onlyBinaryUpgrades

It seems like `this` points to the wrong object.