Ensure tree type on read