Also handling the case where no commands get queued in a transaction