AI-813 : Relevance editor breaks when referenced fields are deleted