Pageviews which contain parameter q in the querystring are not counted

It seems that pageviews that contain a parameter like ?q=something are not counted.

Probably related to the “searches” functionality.

Any ideas where exactly this happens and if there is a way to fix this? It completely messes up our Matomo statistics.

What is the reason the title of this post has been grayed out?