Fixing a potential E_NOTICE error on the themes view