Fixed bug with missing anchors in relation