Fixed single term search bug