Fix isDirty on pristine records due to Date attributes