Solved issue with strings comparison