update flag to boolean on search
Merge pull request #8 from kgentner/LindaDev

update flag to boolean on search