implement limit and reverse in children query
store [ch, null] for toplevel index