aii: fixes in stock reconciliation