entity: fixed setting value to DateTimePropertyContainer

If container was not nullable without default value, exception was thrown