Fixed wrong strings comparison result check