If we add a `nullToEmpty` here, we can skip the `null` check below.