Fixing bug where routes were added multiple times to list of available routes.