Fixed a case where the operator failed

For example x?.a.d would lead to an error if x == undefined because of
an access to undefined.d, even though that's exactly what that operator
should prevent