Guard against undef