Implemented item entity merging