Get first record from DataIterator instead of wasting another one
Fix error when EmptyIterator is used