[Delivers #46401143] Fix advanced search throwing an exception