Fix problem on table of product index. Credits:ED