Fix the issue of showing deleted frameworks as selected in framework selection pop up