Corrected a bug in CacheMixin

The behaviour was the reverse of what was expected: memory_level has to be
low to enable caching (instead of high).