Handle duplicate indexes in positioned reactive query