#JC-1533 Branch Edit Permission dialog: fixed "select all" checkboxes behaviour