Fixed stack error on too many category/parent llookups