Added date checking to edit assessment

basically the same checking that was done for create assignment.