Fix ugly "use a list as a range" hack.

Signed-off-by: Ricky Elrod <ricky@elrod.me>