fix getChildren to scan proper key range