Fixed caching issue.

Fixed issue with caching when the number of shots to display is updated.
Revert "Fixed caching issue."

This reverts commit bdd6c7d4a28c20d5b3e055c092f05c5b35be7ba3.