Fix Nul Pointer Exception in PruneUnconfirmedOperation