Move end date checking to server.  Fixes crashing bug.