Fixing bug when no categories assigned to a portfolio item. [deploy: dev]