Update on_hand scope to account for StockItems having deleted_at