Fixed the use of local cache for tags.