Fixed unique video check (issue #2392)