Fixed caching core identity bug.