Fix DstoreAdapter#query to return QueryResults