Fix the SPARQL node type deletion bug to return a clear error message from the backend.

Resolves: https://www.pivotaltracker.com/story/show/72805066