Fix EBox::Types::Composite::cmp

To store changes when only last type is modified

The severity of this bug is important.