Iterators nullptr check added