I would move this to last `if` as this is only used there...