Replace with another way of detecting ordinary data rows