Merge pull request #685 from faizkhan00/fix-sp-history

center check
Make sure past history search displays in UI