Fix compiler warning for Enum.uniq