After changing Activity log query