Fix code to skip deleted video