fix crash when oldep does not exist anymore in quality_battle
todo