If the last command in the buffer had no parameters, its length would be only 2 and thus processing would stop before reading the command from the buffer.