Is this comparing only the first character?