|
@@ -173,7 +173,7 @@ proto.advance = function advance() {
|
|
|
//verify(this.currentGroupsKeysIndex < this.groupsKeys.length);
|
|
|
|
|
|
++this.currentGroupsKeysIndex;
|
|
|
- if (this.currentGroupsKeysIndex === this.groupsKeys.length) {
|
|
|
+ if (this.currentGroupsKeysIndex >= this.groupsKeys.length) {
|
|
|
this.currentDocument = null;
|
|
|
return false;
|
|
|
}
|