Fix contexts view helper