fixed bug #80554
products not linked to categories under certain circumstances