Added validation for relative time periods in dashboard stats settings.