Leo, sorry to hear about your predicament. I read your problem statement multiple times but you have a lot going on which makes it difficult to solve with a written response. You are correct that the software should, and probably can, solve the problem. But, sometimes an automated solution can be more difficult than a manual one, and times it just can’t do it all. Sorry, maybe someone can read it better than I can, or might provide some thoughts that work.