Fixes TransactionBoundQueryContextTest