sets downloads on search to 0 if 'undefined'