Update scroll ID when using scan queries

This ID appears to change for the last request in a series, causing strange behaviour (HTTP error responses with results) if the request URI doesn't change.