Fix [#33433] Error when duplicating module #3253