Make StockLocation#stock_item return real first stock item

Fixes build breakage with PostgreSQL