Fixed parsing dates from routeParams