FromSeerVisits: fix bug in query