Bugfix: handle disconnected routing graph