Fixes validation of entities with non-scalar complex properties.