Added fix suggested by rsudev

Resolves the problem of caches sometimes not displaying when switching
from hide to show (if they hadn't previously been loaded).