Yes, it did cross my mind.  In SQL the function is called "coalesce" - I can add something lke this to utils, to take an array.