fix issue with somevalue snaks in references