Fix a few minor issues with the default route code.