Fix relay polarity