Hrm. I was just reading the code.. query() return $this in MOST cases but not all.. maybe we're hitting that. Could you just ditch the chaining instead? using query() seems safer than manually build our URL.