fix AtomicQueryConcept iteration bug