Fix bug where visualiser didn't always remember job id