Ensure that account, commodity and payee directives have arguments if they need one. Bug fix for #785