Bug fix: Missing break statement in command invoke logic