Re-implement LIST ranges in a less-stupid way