Fixed pair stacking bug in `merge` arising from property changes