[RJA-2907][fix] - Missed ternary expression copy and expanding