Changed transaction history to array of document _ids