Fix merge of items