Fix edge case where has no successors