Added further validation to view range form