Fix error when all buffers are unlisted