Fix com_search logic for 'all phrase' type of search #5079

.
please add one clean line bevor the `if`