[ORB-39] fixed bug with patient deletion