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

Fixes a problem whereby DELETE /model/:id/association causes the server to crash.

See https://github.com/balderdashy/waterline/issues/740