Remove old search handler before adding the new one.

Each time initSearch was called (from addRecords) bindSearchEvent was called, and then a new event handler was bound to keyup. This pull request removes the old event handler before calling bindSearchEvent.