Not to pat myself on the back, but rather to point out the value of even simple testing:
Someone downvoted my original post in this thread; probably because they didn't like the fact that I mentioned that I hadn't had time to dig into the code myself. Or perhaps because they thought I had done what
GrandFather initially suggested was the problem: i.e. just copy pasted the code instead of downloading it.
The subsequent posts to this thread demonstrate that my initial post had value: [id://parv] looked at this(and what the other posters had to say), found the bug and fixed it.
The poing: even simple testing is worthwhile if you provide some detail for others to work with.
Maybe I'm way off base here..but I think not...:)
By the way..thanks for the fix, [id://parv]
Scott