You'll want to do a compact here to remove the nil values.