Fixed search capability, but it stil appends results to what is currently displayed