Find first common node in two lists