prevented querying of too many appIds (limit set to 1000)