Fixed careless off-by-one array mistakes:
	modified:   submission.php