Fix flagging failed transactions as suspicious
Make format strings python 2.6 compatible