no-ticket: fixed issue when running api_benchmark and no document where present in the items.