Patch-updateRowCount-1

off-by-one error in updateRowCount(), with removeRowFromCache(i)