Tags are always lower case, so make sure we're comparing lower-case
values to other lower-case values when checking for tag equality.