Fixed if statements in downloads.html.