when adding a date range, check to see if the class name entered is a valid DateRange class name