Check if limit parameter is within a valid range
Check if offset parameter is not negative