Fix syntax bug with cache trim method.

Fix for #81