Fix agenda query.
Fix indent.