Local search fixes

1. Fixed multi fileds (person.name) in local search
2. Added logic parameter for advanced search.