Fix Enum($val) coercion regression.