t-BuOK as a base

I thought $\ce{KOtBu}$ was used to form the less substituted alkene. Why is that not the case here?