Allow plain literal if range expects an object.