Method check_repeated() to correct marks when multiple marks were registered