Fixed selecting self as a first predecessor.