Fixed several issues affecting organizations without branches that were recently introduced. The update resolves the following problems:
- Transactions are now correctly retrieved for organizations without branches.
- EC Sales reports are now correctly identified as Revision 2 when Revision 1 was created before the previous change.
- Creating the first EC Sales report for an organization without branches no longer fails with the error “BranchId cannot be empty.”