Fix row deleting in tree grid