Fix entity version handling
Fix template, do not check for metadata - always start cache.