correct comment getNextDoc (ref #4292)
Merge pull request #1016 from Eric-Brison/3.2-I4292

correct comment getNextDoc (closes #4292)