3.0

Cast offset and limits to an integer to ensure nothing nasty makes it in the query.