limit device query size during push notification send