Problems searching history

Hi everybody…

I’m having a really strange behaviour while trying to query history.

When I search all instances of a process definition key (all version), both using REST-API or Java API, it’s returning 70 instances in history. However, when I search for a variable that I know is set in all instances, it brings me something about 190 instances.
If I try to read one of those individual instances from history it returns fine, they just can’t be found when searching the whole history…

Is there any kind of limit to query history ?