Unified insert/update for BashTransactions, selection now works for status+type combination