Fixed issue with cacheAll in Catalog.

Closes #422
Merge pull request #430 from lossyrob/bug/cacheAll

Fixed issue with cacheAll in Catalog.