Fixed issue with cacheAll in Catalog.

Closes #422