Announcement query logic