Fixed initial route setting - making sure the initial period is always set in the URL