Fix unbox cast from DateTime