Fixed critical bug with position indexBy in DQL