Renamed restricted to visible and reversed the logic.