Fixed another bug in the buffer. It was not emptying the stack between
uses.