Make cql/iterate-table terminate when the last loaded chunk is empty

Fixes #74.