Issue #186: Fix entity checks
Issue #186: Cosmetic sorting.
Issue #186: Introducing the valueMetadata.
Remove count warning.
Merge pull request #243 from mateu-aguilo-bosch/Gizra-186-hal

Gizra 186 hal