fixes #25 and #23. flush and cache ops on ALL indices.