Reverting changes on search.py