Be less strict about StockState lookup

This was causing the StockState to not be found, and a duplicate
creation was attempted.