Reset the offset and cn-page query var.

This is done if the offset is greater than the record count.