Fixed bug with selection of branches in editOrg