Fix the anonymous user queries

Anonymous votes now have a null user id instead of 0