String comparison fix