Fix issue #3784
Fixed disabling caching of a chunk's output

* origin/pr/12116:
  Fix issue #3784