Fix regression from moment upgrade. Should fix negative date values in m...

...odals.