Implement "Merge when" intention