Remove undefs from ASN lists. Closes #149.