[TIMOB-13358] Fixed unknown values with tertiary expressions