TEPHRA-49 Use max versions on flush and compaction