fixed errant deletion of relationship from schedule while cleaning up