Fix wrong children count fetch