Fixed crash when `downloads` in the settings was an empty array