Ensure ranges to select are valid
Fixed specs