Mohammad Amir has been bereft of confidence lately.