Attribute Null Check in Handlebars Fails Conditional

In a conditional workflow block, if I have some data like the following, then the conditional works fine.
{{data.device}} !== null && {{data.device.tags.CustomerId.[0]}} === {{experience.user.userTags.activeCustomerId}}

However, if I add a “?” null check to the CustomerId tag such as shown below, the conditional fails.
{{data.device}} !== null && {{data.device.tags.CustomerId?.[0]}} === {{experience.user.userTags.activeCustomerId}}

Maybe this is expected or not, but I thought this was acceptable in the past and now doesn’t seem to work. Correct me if I am wrong.

Thanks.

Optional chaining is JavaScript syntax; it is not supported by Handlebars.

This would normally lead to a compilation error but we are catching that in our rendering engine. You shouldn’t need it to access that property.