Make negative num values remove segments from url