Using cupertinoQueryStrRemoveList to remove query parameters

I need to remove query parameters from .ts chunk files. I want to preserve them on playlist.m3u8 and chunklist.m3u8. I tried cupertinoQueryStrRemoveList but it also removes from chunklist.m3u8 which I want to preserve.