Corrected return behaviour the prevented content cache from clearing

When this extension is enabled, content cache can not be properly cleared.