Fix re-entrant bundle notifications on txn flush

Includes test suite for async store DB