Setting macs to uppercase before comparison