Move logic to determine when to ignore buffer.

In response to issue #11