Fix bug that prevents quantity on hand being correctly shown on the item search