Allow 50m and 64000m as ranges

The boundary checks were incorrect (used > instead of >=)