Same issues are not grouped (merged) automatically

Some issues in Sentry that have the same backtrace, happen on the same url with the same data are not grouped together automatically. Some issues are grouped noramally but some of them we have to merge each day manually. What can be the reason and how can this be fixed?
We have Sentry 9.1.1 running on our server