CRAFTER-1213: Issue was caused by wrong transition for child of pasted item and path not been updated in object state table.
CRAFTER-1221: Fixed potential memory leak and improved sql batching in order to avoid driver exceptions.