fix empty for ResultSequence

- Range wouldn't stop correctly when all rows were fetched