Fixed an API error when the Query object has skip=None