Fix error: Class DatabaseIterator cannot implement both Iterator and IteratorAggregate