fixed cache clearing bug for type_plus_right sets