Working query for Event Store