Fixed bug with getting large (1000+) sensor lists

cc @pimnijdam