fixing wrongly used topology events and fixing issue while inactivation of group and cluster