BUGFIX: same problem with Vectors in getDocumentByKey and getEntryByKey