added delete for refset members, refactored delete for refsets