Case 3649 - Minor fix to avoid notices when agency is not in cache.