Fix crash in downloads fragment.