Sent!
Thanks! This is an enormous help - I can see exactly what has gone wrong and should be able to get a fix out very soon.