Fix bug of optional block on array nodes