Fixed an assert.

The assert now requires that if there are more that zero rows, the
row table must not be NULL.