Fix concurrent modification exception with arenas