Fix row deleting on tree grid