Removed Contains() call.

DocumentIds is currently a HashSet, so no chance for duplicates.