Refactor SearchQueryParser to handle matching of dirty tracks in BaseTrackCache.