Fixed NullExceptionError in PatientForm

Not sure what the error is - it magically fixed itself and worked!