Younis Khan i n NZ

Considering his performance in first test, I wonder why he was not sent in the first place?