Fix scripts/random-entries.php