Fix logic that prevents multiple action, local_action, and modules to be specified.