Fix for active/standby detection