(#915) - Check Database exists before deleting in node.