Correctly decrement pendingSize