Fix undefined method errors

Fix undefined method error when example_block_node is nil