Fixed some bugs related to the operation of multiple CA instances in active/active mode