solve bug in displaying error message if editing test/questions with no changes made, and when invalid date range is entered