Use safer string equality comparison.