Function to delete relation from recurringentity, xml path correction for ajax calls