Fixes test_indirect_loop.py