Minor range parsing fixes (backward compatible)