fix delete (still needs to delete study:uuid has_arm)