Fix off by one in urlextensions