Fixed method to get the lowest attr, not highest.