Max Out of Stock value not updating correctly