I think it might be clearer and purposefully more brittle if you mapped away the nils and then called the method on the remaining array. That way things that exist but dont respond to populate don't make it through unscathed