Limited search history to 10 most recent. Fixes #328