#1639: Fix uploading tab so it works correctly.