Updated performance by only fetching toplevel items in view.