Issue 3181043: Fix logic when searching for next patch with comments (fixes issue246).
Issue 3181043: Fix logic when searching for next patch with comments (fixes issue246).

riannucci/rietveldv2,riannucci/rietveldv2