r5551: Protect against falling off the end of the name resolve order list