Make sure the attributes with value nil are not converted to { } when they are being merged at the same precedence level.