Actually return a new QueryProxy object for #as calls
Load the Query module first so that the #first method gets overwritten properly