Testing fix for bug cause by not saving pressure in optimisation data and then attempting to get the value of an optional.