fix infinite loop in paging by clearing Next/Previous fields from previous query

Since pr.paging.Paging is being reused, before decoding a new response we must clear out Next/Previous from previous response. Otherwise, missing values in the response will leave the data from previous response, resulting in e.g. infinite loop when paging forward.