Fixes stamp_availability to work on topic tree data also.