Mohit | Corrected the error in delete patient functionality