Fix issue with search modal re-search. Fix #66.