Lock with wall CoreCenter reference and DetailLine reference via Lock byReference node

I’m Trying to Lock Detail Line to the wall CoreCenter… some of walls are success, but most of walls are not success… any ideas??? please;;

test0001.dyn (105.1 KB)