Fixed a bug that would occur when deleting a literal node.