Backend: Bugfix upload.php