people.py: people search sql query adjusted