Fixing validation issue when adding a non complex property to an entity.