fixed minor indexing bug in qsr_ll.py