would crash if dates were set to null (server side)