delete orphaned transactions