Fix that prevents null fields in the patient table and hence stops the UKT file being empty