Instead of relying on a specific order of the RR types in the databases pick the first RR type as returned from the cache.