Add some missing input validation for marks.