Fix uniqueness of StockRecord