Fix generation of summary and notes for operation