Fixed some issues with the ordering of the table of effective ranges.