Fix <maction> to have proper number of child nodes.