fixed issue with NaNs in getTxHistory