Fix iOS "Match error: not a transaction"

Fixes #16.