fix to prevent server crash on an invalid attempt to delete assocation