reduce couch queries by prefetching relevant cases during restore