Can remove the `compact` here, since the conditionals (which could return NULL) are gone.