fixed issue when scanSingle is dealing with malformed and missing transactions