Fixes handling of unlimited stock level in _getStockLevel() method