Why short-circuit it here? Isn't the iterator->next() below gonna take care of it? I don't think this is correct. If the tuple was deleted from the table, the table may claim that the tuple count is 0, but there are still tuples left in m_backedUpTuples in the COW context. This will ignore all those tuples incorrectly.