Added ctx != NULL assertion in read_t::unshard.