bug fix - reset pageIndex to 0 when doing a new search