Because you have another case with same range included (The error message propably tells that). You should use "else" in this case, or split 4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,24,25 ,26,27,28,29,30 in smaller parts like 4..20, 24..30