Fix DstoreAdapter range query and result total