Fixed a bug with the plugin "Stock"