Fix the 'no limit' upload setting

Fix issue #879