Fix resource resolution with more than 64 qualifiers.

I just removed the runtime exceptions