Patch for addTemporalMutator

If the object parameter already is a DateTime object then the original
code fails.