Why is this only getting the first revision of the document? This should probably use the `current_revision` parameter of a document, no?