Fixed error occuring when loading ArrayCollection productCategories