changed operator== for iterator comparisons