LPS-34746 Bugs with repeatable fields

The first 2 commits are related with the palete, @jorgeFerrer you may want to have a look at them.

@marcellustavares the last two are specifically fixing bugs in DDM 

Thank you!