Bugfix: skip munkres if there are 0 or 1 edges.