Fix: search match count now updates correctly