Add exceptions when $lower value is greater than $upper