In this case the algorithm says you return tails unless you flip 7 heads in a row (which happens with probability 1/128).