update documentation for getNextRow() to match behaviour