Fix marking of rows: if none was selected, start at row #0 not 1