Small fix when loading patient data