allow to export loop-range w/o looping. fixes #6508