videodb: fix SQL query in CleanDatabase() not considering NULLed fields