SEDR API & UI event query not working as expected