Remove assert which isn't true for the commands (only the GUI).