Optimize changeset importing