Fixed bug in RemoteDataInterface.java that for iterators that are not fully iterated