Fix delete cmd to return deleted tuples