Advanced Search Breaks Irregular

I built Advanced Search that breaks sometimes. Does this happen to anyone else?
Basically, a search field of (contains) searching for text breaks.