Fix stock item count on hand updating