Remove 'next' expressions from AGREE (closes #10)