Compensation of the diversity switching process for non-uniform properties or faulty operations of the switches used in the diversity switching process