Cleaned up a bit of code in DocumentListFragment.