did.database.get_docs does not check to make sure that the docs exist on the current branch. It can return a document even if it is not on the current branch. It shouldn't, because down the road people might not have permission to access documents that are not on their branch.