Resolved issues with lastModified() and autoClearCache() functions