Oh yeah, nicely spotted. I seem to have been looking at the old code originally posted frantically trying to figure out where I made the mistake.

Well needless to say it has been corrected. Thanks for helping out