Fixed ConcurrentModificationException in terminators