queries are now working for visitor ids