Don't remove the transaction from the passed options object when doing setX in a has-many. Closes #1789