LPS-51165 Don't create empty <dynamic-element>, it causes xml validation failure