fixed query for retrieving ILMs for calendar feed.