Fix cached thumbs bug in SPW. See #10827
Merge pull request #1127 from will-moore/spw_thumbs_10827

Fix cached thumbs bug in SPW. See #10827