Would be easier just to remove this check, this proc isn't called that often to warrant for optimization.