Fix if-action sub-blocks as lists