Reworked strings comparison.