Removed reference to deprecated spree config option
Modifies indexing SQL because spree_products.count_on_hand was removed