Wrap the db first with ttl, then with sublevel to make ttls work
correctly.