Is that helpful then?
Might have been. It has been 9 months since you said it didn't work so things might have changed.
Also, the principle is still something you could try working with.
I get the feeling your upset with me writing code that doesn't work for you... sorry about that. Maybe, if you were interested in using it, you could see who else it fails for or add some debug statements to see where the problem might be.
Having said it might not be what you're looking for anyway.