Fix bug #477 by keeping track of visible rows, not just titles