parseInt on limit and offset just in case they are passed as a string