Loss-of-field relay operation during system disturbances