Fix illegal dates test.

There was a bug that had the illegal dates getting set up wrong, so
that start would be earlier than deadline and so it was possible to
find these dates as illegal via the wrong mechanism and still have an
error in them.  Fixed with this commit.