Modified string comparison

Changed string comparison to account for globalization.