fixes issue #771

For issue #771, iterate through all model references in a list(as opposed to removing just the first) upon destroy.