You want to use allDocs + keys here, don't you?