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