Fixed range validation to allow intermediate definitions