LPS-35376 Checkboxes for Metadata are ignored

Validated by @JorgeFerrer. See JorgeFerrer/liferay-portal/pull/166.
@juliocamarero
@MateThurzo