Fixed mistake with initialisation of greatgrandpa pointer at beginning
of backward loop.