fix stale page bug when doing new search

cbugg: close bug-277