Fixed delete block issue

Found while regression testing, delete block was using old block factory
style.