Return collection from query builder