LPS-47639 Web content advanced search doesn't work when is selected match "Any" and no fields are filled or just status

Hi @juliocamarero, @ealonso,

Please execute junit tests before commiting my changes. 2 tests will be broken and they will be fixed after applying my modifications.

Beside this, please see file query.txt attached in LPS to see the differences between the queries before and after the changes.

Thanks.