Fixed store editing.
Fixed delta history bug.
Fixed chaos in orders merging by minimal sum of order.