Plagiarism check should ignore invalid entries.

 * also use common field in swdiff statistics instead of changes