Fixes on attribute repository cache access