repeat_list.py: define intersection of repeat lists Bugfix