fixed bug in function remove_duplicate_lines, which removed all lines, when no duplicate lines were found
fixed bug in function remove_duplicate_lines, which removed all lines, when no duplicate lines were found