Fix for Elgg 1.8.14 with simple cache enabled