Removed unnecessary result nodes.