scripts/detect_tandem_repeats_in_sequence.py: Bugfix