Hadn't updated the number of commands in the command table.