You're very welcome @SergioNG, i'm glad i was able to help
Off-topic: Yay! 3 reputation. No more 10 minute cooldown between posts. Thank you :squirrel:
I thought this must be just one line or one function. I stared at the code and the database, and didn't get what's the point of the matter.
Sorry. I just could reproduce it, but didn't know why it works that way.