Ensure we can deal with undefined