Fixed bug on student/homework.php: Link to download a file that was submitted for a homework still due in the future was wrong.