Fixed issue on RIDBag where the iterator doesn't expose size()