Fixed the ting cache, now with relations