Fix reflection code to not crash when named arguments are used for the Indexed attribute, e.g. `Indexed(Name="A",Order=1,Unique=true)`