Some error checking for dodgy looking transactions.