Set iterator and currentObject to null if data is empty