Merge features: Fix "take attributes from selected feature"
Fix #7668
Fix #7922