Changes made by Kelvin Kosbab (kelvin@kosbab.com). Fixed bug of clearing search text before retrieving search.