Fixed bug with head phrase finder.