Added null checks to travelled distances in svg generation.
Added null checks to travelled distances in svg generation.

aalto-trafficsense/regular-routes-server,aalto-trafficsense/regular-routes-server,aalto-trafficsense/regular-routes-server,aalto-trafficsense/regular-routes-server