Add exceptions when $lower value is greater than $upper

Please, `s/0/1` :-).