>>May be timer switches the currently selected area. I suggest to add set order to ItemId in InvestLimits - this will prevent such error
>
>A timer between two lines seems very unlikely to me.
Well, could be anything, but if you write with the IN syntax you may eliminate a possibility of such weird error.
If it's not broken, fix it until it is.
My Blog