Remove references to removed applications