SOH is next in line of succession after the VP.
But there are provisions to bypass and proceed to the next one in the line of succession if one in line does not meet Constitutional requirements. After all Congressmen/women & Senators do not have to be Natural Born citizens. Also there is nothing that prevents them from being Speaker of the House or President pro tempore of the Senate.