Fix opening tag matching extension after bug introduced by yielding it too soon