[4.2] Revert Change Casuing An Extra Function Call

PHP will always evaluate both sides of the &&, so we are always calling the updateExistingPivot function, even in the wrong context.

---
Reverts: b7922063faf28e32fdf32f1fa890fd97afa5e32d.