Fix #237 URL function should be called with the collection instance context under infinite mode