Fixing error handling where tr was undefined if there's no cache.
2.1.2