Fix default parameters being set for all natives

Add a misssing check to ParameterList.as_list that filters out
parameters without defaults.