Use the getUniquePredecessor() utility function, instead of doing