Fixed undefined index notices on agenda detail page.