Added additional checks to make sure that we're not trying to speculatively execute txns twice