Can't we just add an `else` to the first `managedObject == nil` check above?