Minor fix to avoid NullPointerException if generaton of a statement contained in a block statement is not implemented