invalid iterators now return true on the comparison as the end iterator position is invalid and this has to be detected. Not completely happy with this so a better solution needs to be found (this one works though)