Fix 'numLastVisitorsToFetch' bug.
Merge branch 'master' into works_on_pg_only