This fixes a bug where 'dupe key' warning messages would be logged for each route after the key was found.