Possible fix for missing user_data array element