esearch.py update to remove leading and trailing whitespace