Fix for modules_purged/2.