fix orders processed migration