API finding Person by email not working as expected

It seems that the organization filter in the search module is limited to 2,000 results.

For example, person 1, created with ID 16, isn’t found as a duplicate because the other person (with ID 2800) falls outside the 2,000-result range.

This feels a bit odd to me, since when searching by email address without the organization filter, both entries are returned, so the endpoint doesn’t appear to have a hard limit there.

It would be great if the dev team could take a closer look at this.

We structure our Pipedrive data by organization, as we handle outsourcing for multiple clients. Some of these organizations have over 2,000 people in Pipedrive, so this limitation is quite problematic for us.