[ka] Removed pattern collection from scope of search to avoid ignoring patterns that don't have a pattern collection