Fix for multi operations with detect_buffers enabled

This fixes #263 where multi operations that properly should return arrays, return strings instead when detect_buffers: true.