issue #20212: Improve list action handling.