Turn possible nil values to an array