>Yes, you are right. I really messed up on this one :(
>
>>Look closer at the code. SCAN is done on one table and loop and skip on another. ...
I had the exact same problem from the first glance, so I had to look few seconds longer. Still I'm not getting the idea.
If it's not broken, fix it until it is.
My Blog