[trunk] Fix command order. Tip of the hat to @AliSoftware.