Fix date editing - fixes #22

When names and dates were edited separately, we kept separate track of
what we were editing.