Fix a bug where the voteban mask is not updated due to improper handling of case mapping.