Fixing issue #169. Auto-complete function for route planning.