- fix ValueAsDateTime in AttributeValue to more safely convert DateTime (fixes #669) (Next migration will update the database)