Fix issue with oldURL/newURL in core/router/hash