[fix] Don't throw when deleting undefined variables