multiplexer: make sure that the action is not invalid

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>