I've read your first attachment. Unfortunately, I can’t find a way to solve the problem (mostly because I still can’t understand it) .
Hope someone else here can help you.