fix for issue #2014 when even administrator with all_items visibility got 0 proxy hosts in dashboard.