cleaned up metric duplicate check function
fixed interface config page possibly showing unnecessary warning