Remove comparisons and add listItem visibility value attribute
Merge pull request #1063 from inthause/documents

some fixes