[FIX] In the event that one of the field is an items list field with postponed filtering, the joining index if is $i will cause db error due to it being out of sequence.
[FIX] In the event that one of the field is an items list field with postponed filtering, the joining index if is $i will cause db error due to it being out of sequence.

git-svn-id: a7fabbc6a7c54ea5c67cbd16bd322330fd10cc35@38621 b456876b-0849-0410-b77d-98878d47e9d5

changi67/tiki,oregional/tiki,oregional/tiki,tikiorg/tiki,tikiorg/tiki,oregional/tiki,tikiorg/tiki,tikiorg/tiki,changi67/tiki,changi67/tiki,oregional/tiki,changi67/tiki,changi67/tiki