Core's underlying staking contract contains logic that interprets a withdrawal request for zero tokens as an instruction to release the entire staked balance of a position.

Opening sign-in…