Fix ENgetlinkvalue() for EN_MINORLOSS and pumps.