Fixed a small bug comparing char arrays.