TEPHRA-9 Use transaction filter instead of wrapping scanner on flush and compaction