Fix unverified transactions.

Thanks to @reorder for debugging