Handled nil date in log editor. Caused crash in prod. Fixed broken tests from plan layout.