@Override
    public Object instantiateItem(ViewGroup container, int position) {
        Object fragment = super.instantiateItem(container, position);
        containerId = container.getId();
        if (fragment instanceof Fragment) {
            tags.add(((Fragment) fragment).getTag());
        }

        return fragment;
    }
This methods clears any fragments that may not apply to the newly
selected org.

@return this adapter
app/src/main/java/com/github/pockethub/android/ui/base/FragmentPagerAdapter.java