Fix #9733 (empty attribute table if showing just selected / visible features)