Fix cast exception when pass not ICollection to OpMethods.In method.