Circular buffer fixed isFull check