You're right, I also need to compare it with m_DataIt which is the begin iterator