Re-add a type check to datum_t::get(size_t)