Created repro case for multi instance task query problems