Implement basic history search