Fix EZP-21906: Search API returns wrong number of total objects with content having multiple locations