Fix "any" assertion