Fixed querying empty containers, aka 'root'.