bugfix: it didn't shift the rbuffer window when multiple inner rows were
matched with an outer row.