wrapped: Use correct cache key when in the parent template