Treat offset=0 the same as offset=None.

Without this, a SELECT statement could inadvertently query the whole table.