Fix improper value types used to instantiate a Template in AV::NullResol...

...ver

While trying to provide a reproducible test for #17008 I stumbled on
this one. Seems to be quite an old piece of code, but its definitely
useful in situations like the one above.