Fixes #5443: Fix command_execution reporting