Fixed run-time bug in advanced search which was referencing an old class constructor