Added condition to handle subnested object access.