Fixed scanning for votes to be case-insensitive