Fixed #21707 -- Checked for missing context when 'super' used in base te...

...mplate.
Going to use `self.__class__.__name__` instead of hardcoding `BlockNode` to be safe in case of sublcassing.