Fixes record re-creation on DELETE that returns non-empty response.
Move destroyed check up to first line.
Merge pull request #376 from mbleigh/ajax-delete-recreation

Records are re-created on DELETE that returns non-empty response.