Added a query for the visibility of listentries