fixing stock_count for spree 2.0.3