Fixed a bug with the merge feature using the incorrect value.