tandemrepeats/scripts/detect_tandem_repeats_in_sequence.py: bugfix