Fixed asingn_patient problem.